php forum
php mysql forum
php mysql smarty
 
Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#198446 - 01/13/03 04:35 AM [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Charles said that Hit Hack 1.07e is a danger to the environment, so I updated it to 2.0 on Jul 5. I really think it's faster now. smile

Download: ZIP File or MultiHack File
Demo: http://www.lkworld.com
Requirements: UBB(.classic)™ 6.4, Mod Wordlets .
Number of Downloads: [img]http://www.ubbdev.com/lk/num.php?s=hit64.zip,hit64.mhp[/img]
Thanks to: cal for JavaScript help, e@sy for Hit Hack 1.07e, Charles for suggesting me to update and qasic for PHP help. smile

Good luck! smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198447 - 01/13/03 05:56 AM Re: [6.4] [beta] Hit Hack
DanielAc Offline
Junior Member

Registered: 01/12/02
Posts: 16
What did he say?

J/k sorta. I know you are well respected and all. But can we get a plain english interpretation too?

Top
#198448 - 01/13/03 06:41 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You mean Charles Capps? He said Hit Hack 1.07e might cause some preformance problems with the UBB, because it requires modification of servefromcache sub, it has a different file for each hit (just think about it, another 30 files are opened for each forum visit).....
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198449 - 01/13/03 10:04 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
thanks LK laugh I needed this to fix the lazy port I did a while back laugh
_________________________
- Allen wavey
- What Drives You?

Top
#198450 - 01/13/03 12:37 PM Re: [6.4] [beta] Hit Hack
Xiphoid_pAOM Offline
Member

Registered: 01/08/02
Posts: 39
Great work, LK! No problems at all with the install.
_________________________
PlanetAgeofEmpires Forums

Top
#198451 - 01/26/03 06:17 PM Re: [6.4] [beta] Hit Hack
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
Works well with IE but there is a problem with Opera 6.04. In ths version the hits will not be shown. I guess its a Java problem.

The hack itself is great work. :top:
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#198452 - 01/27/03 02:10 PM Re: [6.4] [beta] Hit Hack
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
This worked perfectly for me on the first forum page. However, in public_forum_summary, there is no number under the hits column. I viewed the source of the page, and it said the following:

&lttd valign="top" bgcolor="#dedfdf" align="center"&gt
&ltfont size="2" face="Verdana, Helvetica, sans-serif"&gt
&ltspan id="hit000001"&gt&lt/span&gt
&lt/font&lt


I assume that the relevant code that generates this is:
$ForumDesc&ltspan id="hitf$x"&gt&lt/span&gt

Unfortunately, this does not translate to a number of hits on my 6.4 board.

Top
#198453 - 01/27/03 03:02 PM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I wanted to check your site but then I figured that you hid its URL confused :rolleyes:
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198454 - 01/27/03 03:09 PM Re: [6.4] [beta] Hit Hack
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
It's a test forum at

http://www.roxydollboard.com/cgi-bin/ultimatebb.cgi

Any help would be appreciated!

Top
#198455 - 01/28/03 12:25 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Quote:
quote:
Re: this is a great board (Ellen)
January 26, 2003 06:28 PM (75 hits)
I think "(75 hits)" is the number of hits wink
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198456 - 01/28/03 06:38 AM Re: [6.4] [beta] Hit Hack
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
No, that's the page that works. If you go to

http://www.roxydollboard.com/cgi-bin/ultimatebb.cgi?ubb=forum;f=1

you will see that there is no number in the hits column

Top
#198457 - 01/28/03 08:16 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Re-"modify" ubb_forum.cgi... smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198458 - 01/29/03 06:06 AM Re: [6.4] [beta] Hit Hack
Zarzal Offline
Coder

Registered: 07/03/01
Posts: 811
Loc: Berlin, Germany
LK, you ever try to see the Hits with Opera V6.x ? The hack still works and display hits in a forum with IE6.x well but with Opera the hit field is still empty.

Example: http://www.dragonclan-forum.de/cgi-bin/ultimatebb.cgi?ubb=forum;f=23;DaysPrune=45
_________________________
my forum: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de

Top
#198459 - 01/29/03 07:35 AM Re: [6.4] [beta] Hit Hack
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
Thanks to your help, LK, I found the error of my ways. Much appreciated, and thanks for the great modification!

Top
#198460 - 02/26/03 08:54 AM Re: [6.4] [beta] Hit Hack
Risperdal Offline
Junior Member

Registered: 08/19/02
Posts: 19
Loc: The Netherlands
This hack aint working for me. I get a syntax error... could anyone please tell me what I did wrong

http://apoforce.hypermart.net/cgi-bin/ultimatebb.cgi
_________________________
Man what a rush...

Top
#198461 - 02/26/03 09:59 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
It's because Hypermart adds advertizements shocked use a real host if you want to use this hack frown
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198462 - 02/26/03 10:23 AM Re: [6.4] [beta] Hit Hack
Risperdal Offline
Junior Member

Registered: 08/19/02
Posts: 19
Loc: The Netherlands
thanks for your quick reply! Hope i have enough money soon to buy one
_________________________
Man what a rush...

Top
#198463 - 02/26/03 05:46 PM Re: [6.4] [beta] Hit Hack
Bob Ferguson Offline
Member

Registered: 01/23/03
Posts: 87
Loc: Philadelphia, PA
MySiteSpacePro.Com host for $36.00 annually & accept PayPal. wink
_________________________

Idiot at Work!

Top
#198464 - 03/13/03 04:43 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi,

does this hack works with UBB-Classic 6.5.0? At my board, at the forumspage i saw no hits, only the column....

What can I do?

thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198465 - 03/16/03 04:40 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Is there nobody with an idea, why it does not work with 6.5?

thanks
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198466 - 03/16/03 01:54 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
it works on my 6.5 (see sig) - I can post the mhp later tonight if you need.
_________________________
- Allen wavey
- What Drives You?

Top
#198467 - 03/16/03 02:30 PM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Oh yeahhhhhhh, pleas post it!!! Thank you very much!!!!

Do you have a zip-file for mee?
d-talk
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198468 - 03/18/03 06:53 AM Re: [6.4] [beta] Hit Hack
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
i (still) got a strange error message if I enable the php accelerator on my own root-server:

Quote:
quote:
Accelerator Error:
I can't seem to open the existing hits file (
/home/www/web1/html/ubb/Forum1/hits.cgi
)
Check that its parent directory exists. Perhaps the path is incorrect?
any ideas ? confused

Top
#198469 - 03/18/03 06:56 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I think it's a permission problem of ultimatebb.php
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198470 - 03/18/03 09:49 AM Re: [6.4] [beta] Hit Hack
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
yeah I checked the permissions from the hit files and set them to 777 put always they are set back to sth. weird that the accelerator cant access them smash

so now I cant use the acc. frown

Top
#198471 - 03/18/03 11:40 AM Re: [6.4] [beta] Hit Hack
Stamoulis Offline
Member

Registered: 09/17/01
Posts: 92
Loc: Germany
just forget about it, i disbled the safe mode on the server and now it works wink

Top
#198472 - 05/03/03 10:42 AM Re: [6.4] [beta] Hit Hack
hanjo Offline
Junior Member

Registered: 05/03/03
Posts: 3
I've same problem like "Ellen". help

I see the hits in the forum sumary:
http://www.rztpower.de/ubb/ultimatebb.php

but not on next page:
http://www.rztpower.de/ubb/ultimatebb.php?ubb=forum;f=1

I've checked all files 2 times. Don't find the problem.

Can anyone help me, please?

Hanjo

=========================
<td valign="top" bgcolor="#dedfdf" align="center">
<font size="2" face="Verdana, Helvetica, sans-serif">
<span id="hit004713"></span>
</font>
</td>

Top
#198473 - 05/03/03 11:48 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
try to rehack ubb_forum.cgi... the part of:[code][/code]make sure you add ABOVE and not below... smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198474 - 05/03/03 12:10 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hmmm... that maybe part of one reason why the hits didn't work in our /db files smile
_________________________
- Allen wavey
- What Drives You?

Top
#198475 - 05/04/03 04:15 AM Re: [6.4] [beta] Hit Hack
hanjo Offline
Junior Member

Registered: 05/03/03
Posts: 3
Hi,

it looks like:

[code][/code]UBB 6.5

This isn't the problem.

More ideas?

Hanjo

Top
#198476 - 05/04/03 04:21 AM Re: [6.4] [beta] Hit Hack
hanjo Offline
Junior Member

Registered: 05/03/03
Posts: 3
Thank you!

[code][/code]is correct and works fine ;-)

German UBB 6.5

Hanjo

Top
#198477 - 05/04/03 04:55 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
danke smile I'll update the original files tomorrow smile
_________________________
- Allen wavey
- What Drives You?

Top
#198478 - 05/12/03 07:05 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
Quote:
quote:
Originally posted by AllenAyres:
danke smile I'll update the original files tomorrow smile
*still waiting* :-)
chris
http://technoforum.de

Top
#198479 - 05/17/03 09:23 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
does anyone else do have problems importing this hack thru multihack2 in a 6.5 system? i do have :-/, an error occurs...
chris
http://technoforum.de

Top
#198480 - 05/18/03 04:22 PM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany

Top
#198481 - 05/18/03 07:59 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
Originally posted by technoforum.de:
*bump*
*looks at your board* *sees the hit hack working*

what was the error? I didn't get an error importing it, I had one error installing it cause of all the hacks I have installed already, but I fixed that

Top
#198482 - 05/19/03 02:46 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
2weirdal,
actually you saw my board running on 6.01 - so, i wanted to upgrade today and started the multihack2.0-utility, imported the multihackfile hit64.mhp, hitted the 'install'-button and following error occurs:
ubb_forum.cgi - Add Before - Applying Mod - ERROR
occured.
all other import-lines do apprear with an 'mod applied successfully'-term, just at line 11 of the installation log the error is mentioned. :-/

Top
#198483 - 05/19/03 03:12 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
Originally posted by technoforum.de:
2weirdal,
actually you saw my board running on 6.01 - so, i wanted to upgrade today and started the multihack2.0-utility, imported the multihackfile hit64.mhp, hitted the 'install'-button and following error occurs:
ubb_forum.cgi - Add Before - Applying Mod - ERROR
occured.
all other import-lines do apprear with an 'mod applied successfully'-term, just at line 11 of the installation log the error is mentioned. :-/
do this...

[code][/code]

Top
#198484 - 05/19/03 04:21 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
*blush* - thanks! :-)
chris
http://technoforum.de

Top
#198485 - 05/23/03 05:32 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
mhn, doesn't work as well the the im-hack: i did upload the additional files from this hack as well as the im-hack using ssh and we figured eben out with all files from the ubb6.5-package that carriagereturn_tags were included, so, maybe both of these hacks do not work because of the same error? both hacks do use additonal files (yeah, i set 'em to 755) and maybe they do not work because of the same problem including the carriagereturn-tags i cannot even see using ultraEdit? weird... any ideas concerning these both hacks?
chris
p.s. i did hack the engine manually using the .txt.manual, figured out too many errors using multihack2

Top
#198486 - 05/23/03 10:05 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hmmm... I'll post a 6.5 mhk tonight if LK isn't able to get to it smile
_________________________
- Allen wavey
- What Drives You?

Top
#198487 - 05/23/03 10:13 AM Re: [6.4] [beta] Hit Hack
technoforum.de Offline
Member

Registered: 09/30/00
Posts: 484
Loc: Muc/Germany
would be very nice, to i just would use your 6.5mhk to check if i patched all things in a correct way... :-)

Top
#198488 - 05/30/03 11:26 AM Re: [6.4] [beta] Hit Hack
Nycore Offline
Junior Member

Registered: 05/26/03
Posts: 20
Loc: NY
Has anyone monitored the cpu usage with this hack? UBB foolishly says they will never add this feature due to server issues. As someone who generates $ based on website hits I can tell you that this feature is extremely important. A topic might be replied to only 1 time but if it gets 3000 views it shows that the website is generating readers.

Im going to try this on version 6.5 on a cobalt server

Top
#198489 - 06/03/03 10:27 PM Re: [6.4] [beta] Hit Hack
aalhait Offline
Newbie

Registered: 02/18/01
Posts: 16
what if I do not have ultimate.php?

Has anybody done the hack for ultimate.cgi?
Thanks

Top
#198490 - 06/03/03 10:33 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
lol, it'll work on both. most use cgi anyway tipsy

Top
#198491 - 06/06/03 06:37 AM Re: [6.4] [beta] Hit Hack
Paul_K Offline
Junior Member

Registered: 06/06/03
Posts: 3
Loc: Russia St.Petersburg
Hello! (sorry for my english)

You modified file ultimatebb.php
What me do if I do not use this file? My forum used cgi-bin/ultimatebb.cgi only


and where I can download Multihack program?

tnx!

Top
#198492 - 06/06/03 06:54 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
welcome to our little community paul smile

if you don't use ultimatebb.php, ignore the steps which this hack asks you to modify...

multihack url - http://nomadsoft.net/multihack.nomadsoft.net/download.shtml
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198493 - 06/06/03 07:03 AM Re: [6.4] [beta] Hit Hack
Paul_K Offline
Junior Member

Registered: 06/06/03
Posts: 3
Loc: Russia St.Petersburg
Thnx for help me.

This link not working.
http://www.nomadsoft.net/cgi-bin/dlcount/clickmanager.cgi?dl=12

i see: Invalid ID or URL

Top
#198494 - 06/06/03 07:04 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
http://www.ubbdev.com/mhp/mhack2.msi


LK, I'd think you'd know that didn't work by now tipsy

Top
#198495 - 06/06/03 07:20 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
sorry tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198496 - 06/06/03 07:22 AM Re: [6.4] [beta] Hit Hack
Paul_K Offline
Junior Member

Registered: 06/06/03
Posts: 3
Loc: Russia St.Petersburg
This program only for Windows?

Top
#198497 - 06/06/03 07:25 AM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
yes
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198498 - 07/25/03 07:29 PM Re: [6.4] [beta] Hit Hack
schumster Offline
Junior Member

Registered: 07/21/03
Posts: 6
Hmm I just installed the mod. I seee the hit colum but with no numbers.

What did i do wrong??

Top
#198499 - 07/25/03 08:42 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
Originally posted by schumster:
Hmm I just installed the mod. I seee the hit colum but with no numbers.

What did i do wrong??
I see them fine. There is a known bug with Opera, where you can't see them

Top
#198500 - 07/26/03 01:43 AM Re: [6.4] [beta] Hit Hack
schumster Offline
Junior Member

Registered: 07/21/03
Posts: 6
Ok. Thanks.

Top
#198501 - 07/28/03 10:42 PM Re: [6.4] [beta] Hit Hack
sventek Offline
Junior Member

Registered: 07/17/03
Posts: 4
Loc: Chicago
This may sound dumb, but I don't have:

vars_wordlets_mods.cgi

It seems like it was something that was in use with 6.1 / 6.3. I'm working on 6.5 at the moment. So far the board still seems to work after I've hand edited in the mods, I'm using a bsd server so multihack is out of the question.

Anyone know what I'm missing here?

Top
#198502 - 07/28/03 11:12 PM Re: [6.4] [beta] Hit Hack
sventek Offline
Junior Member

Registered: 07/17/03
Posts: 4
Loc: Chicago
Another question, there's a bit a discrepancy with one of the mod's.

$ grep -in "ThisHTML .= " ubb_forum.cgi
399: $ThisHTML .= &page_top; # some HTML
400: $ThisHTML .= &topic_table_header; # table top HTML
539: $ThisHTML .= &topic_row;
543: $ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks);
544: $ThisHTML .= $Footer;


Whereas, according to hit2.txt:

Find: (~500)
=====

}
$ThisHTML .= &page_bottom; # some HTML

Any suggestion here?

Thanks,

Brian

Top
#198503 - 07/28/03 11:26 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
http://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000018;p=3

look at hanjo's post

Top
#198504 - 07/29/03 01:54 AM Re: [6.4] [beta] Hit Hack
sventek Offline
Junior Member

Registered: 07/17/03
Posts: 4
Loc: Chicago
Got it.

Got the 'hits' column right now, no other labeling though.. no digits, but it seems to be registering hits within the Forum directory. I've already cleaned up one error but I'm still digging through it.

Do I have to do anything else after I modify everything, ie rebuild anything etc?

Thanks,

Brian

Top
#198505 - 08/20/03 02:29 PM Re: [6.4] [beta] Hit Hack
wOw Offline
Member

Registered: 06/18/02
Posts: 51
Loc: England
Hi Guys!

I installed this hack but once I had I realised it gives you the number of visits to a forum as well as the number of visits to a topic.

I don't want this.

I just want to know how many times a topic has been visited.

I tried skipping out the part below but it also removed the number of visits to the last post column on the forum summary.

Quote:
quote:
********************************
* Open public_forum_summary.pl *
********************************

Find: (~125)
=====

$ForumDesc

Replace with:
=============

$ForumDesc<span id="hitf$x"></span>
How can I remove the number of visits to the forum from the forum summary, or even better how can I stop it counting the number of visits to a forum at all?

Thanks in advance.

Top
#198506 - 08/23/03 11:30 AM Re: [6.4] [beta] Hit Hack
wOw Offline
Member

Registered: 06/18/02
Posts: 51
Loc: England
*Bump*

Can anyone help me with this?

Top
#198507 - 08/25/03 06:26 AM Re: [6.4] [beta] Hit Hack
Mr. B Offline
Member

Registered: 04/13/03
Posts: 56
Works fine with me [6.5]

But there were some problem in the summary page due to other language encoding or might be from the news fader hack, I'm not sure.

Since I need it only for forum pages, I unhacked public_forum_summary. Now it is working great for me. Thanks.

Top
#198508 - 10/31/03 10:40 AM Re: [6.4] [beta] Hit Hack
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
Anyone try this with 6.6.1 yet?
_________________________
http://www.solo2.org/

Top
#198509 - 10/31/03 10:51 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
will tonight. I had it running on 6.6 Beta Release if I remember correctly

Top
#198510 - 10/31/03 12:19 PM Re: [6.4] [beta] Hit Hack
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
I tried it this morning, no luck, will try to work with it again this weekend.
_________________________
http://www.solo2.org/

Top
#198511 - 11/04/03 04:24 PM Re: [6.4] [beta] Hit Hack
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
Hopefully I can work on this again tonight to try to get it working with 6.6, haven't had time since last week.
_________________________
http://www.solo2.org/

Top
#198512 - 11/26/03 10:46 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Here's the updated install instructions for 6.6:

http://www.ubbdev.com/ubb/upload/00000494/hit66.txt

not much has changed, just a few bits and pieces here and there...
_________________________
- Allen wavey
- What Drives You?

Top
#198513 - 11/26/03 11:21 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
(RequireVars) NonCGIPath/Forum1/hits.cgi: Can't locate NonCGIPath/Forum1/hits.cgi in @INC (@INC contains: ./Modules . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at CGIPath/ubb_lib.cgi line 836.

Hi Allen i get this error after hacking...
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198514 - 11/26/03 11:27 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Did you upload the ubb_hits.cgi file from the original zip?
_________________________
- Allen wavey
- What Drives You?

Top
#198515 - 11/26/03 11:29 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Yes, I upload the ubb_hits.cgi
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198516 - 11/26/03 11:39 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
your permissions on your forum folders are 777?
_________________________
- Allen wavey
- What Drives You?

Top
#198517 - 11/26/03 11:41 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
and is the php accelerator turned on?
_________________________
- Allen wavey
- What Drives You?

Top
#198518 - 11/26/03 11:50 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Yes it is,

when I go to CP I get at many times now:

RequireCode) /home/www/web19/html/cgi-bin/cp2_content.cgi: Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1081. Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1082. Compilation failed in require at /home/www/web19/html/cgi-bin/ubb_lib.cgi line 815. Stack trace: (RequireCode) /home/www/web19/html/cgi-bin/cp2_content.cgi: Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1081. Global symbol "%hits" requires explicit package name at /home/www/web19/html/cgi-bin/cp2_content.cgi line 1082. Compilation failed in require at /home/www/web19/html/cgi-bin/ubb_lib.cgi line 815. main::LoadCPTemplate() called at /home/www/web19/html/ubb/Templates/cp2_styles.pl line 11 main::cp2_template_styles_init called at /home/www/web19/html/cgi-bin/cp2_lib.cgi line 118 main::LoadCPTemplate() called at /home/www/web19/html/cgi-bin/cp2_lib.cgi line 154 main::CanAutoHandle called at cp.cgi line 476
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198519 - 11/26/03 12:36 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
in cp2_content.cgi:

find:
use strict;
#use warnings;


add below:
use vars qw(
%hits
);

that should fix the above error.
_________________________
- Allen wavey
- What Drives You?

Top
#198520 - 11/26/03 12:41 PM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
(RequireVars) NonCGIPath/Forum1/hits.cgi: Can't locate NonCGIPath/Forum1/hits.cgi in @INC (@INC contains: ./Modules . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at CGIPath/ubb_lib.cgi line 836.

same error.... :-( but cp works now...
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198521 - 11/26/03 09:50 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
until I can figure out the problem, the easiest way to fix this is upload a blank text file called hits.cgi into each forum and set its permissions to 777.
_________________________
- Allen wavey
- What Drives You?

Top
#198522 - 11/26/03 10:16 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
*shrugs* works for me, but I only changed one of your steps which I noticed wasn't updated.

v I used that code v

Quote:
quote:
Originally posted by hanjo:
Thank you!

Code:
$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks, $topicnums);
$ThisHTML .= $Footer;
is correct and works fine ;-)

German UBB 6.5

Hanjo

Top
#198523 - 11/26/03 10:50 PM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi Allen,

blank hits.cgi did not work too...

RequireVars) NonCGIPath/Forum1/hits.cgi: NonCGIPath/Forum1/hits.cgi did not return a true value at CGIPath/ubb_lib.cgi line 836.
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198524 - 11/26/03 11:07 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
this may be a stretch... but you did upload ubb_hits.cgi, right?

Top
#198525 - 11/27/03 02:09 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Yes, I uploaded it to the cgi-bin folder
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198526 - 11/27/03 05:23 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Can somebody have a look at my ftp files? I have rehacked it several times... frown
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198527 - 11/27/03 11:11 AM Re: [6.4] [beta] Hit Hack
Charles Offline

Veteran

Registered: 10/22/00
Posts: 2637
Loc: London, UK
Quote:
quote:
Originally posted by d-talk:
Can somebody have a look at my ftp files? I have rehacked it several times... frown
it seems you are missing the hits files just add them manually
_________________________
Do you believe in love at first sight,
or should I walk by again?

Top
#198528 - 11/27/03 11:13 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi charles, a blank hit.cgi does also not work... can you have a look at my files... / sorry I know you have no time, but a forum wihtout hits is not possible for me...
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198529 - 11/27/03 11:39 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
create a hit.cgi with the following in it...

Code:
%hits = (
    q!forum! => q!>>THE NUMBER OF THE FORUM<<!,
  );


1;
where if you were making this Forum1/hits.cgi, the number of the forum is 1.

try that

Top
#198530 - 11/27/03 01:03 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
after FTPing to d-talks test board, I fixed his problem. for anyone else who experiences the File doesn't exist error, do this...

In ubb_forum.cgi
Code:
FIND:
	&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");

REPLACE WITH:
if (&FileExists("$vars_config{NonCGIPath}/$exact_path/hits.cgi")) {
	&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");
}
For those of whom don't get an error, but the numbers still won't show...


Code:
$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks, $topicnums);
# $ThisHTML .= $Footer;
that's what lines ~ 548 - ~552 should look like it was an error in the install txt

Top
#198531 - 11/30/03 11:31 PM Re: [6.4] [beta] Hit Hack
Autocrosser Offline
Junior Member

Registered: 11/12/01
Posts: 27
Loc: St. Louis | Car: 350Z
Thanks Weird Al, I got it working with your code.
_________________________
http://www.solo2.org/

Top
#198532 - 12/01/03 10:27 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
text file updated with all published fixes smile

http://www.ubbdev.com/ubb/upload/00000494/hit66.txt
_________________________
- Allen wavey
- What Drives You?

Top
#198533 - 01/02/04 07:05 AM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Hi Lk,

can you post the modifications for 6.7, you haa changed my files at my testboard...
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198534 - 01/02/04 01:03 PM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198535 - 01/02/04 01:29 PM Re: [6.4] [beta] Hit Hack
d-talk Offline
Code Monkey

Registered: 05/01/01
Posts: 686
Thank you LK!!! thumbsup
_________________________
Webmaster of d-talk & Kabel-Forum.com

Top
#198536 - 02/04/04 06:40 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
What changes were needed for ubb_hits.cgi?

I'm not seeing any errors, but I'm not seeing the hits either smile

http://www.praisecafe.org/thelink/cgi/ultimatebb.cgi?ubb=forum;f=3
_________________________
- Allen wavey
- What Drives You?

Top
#198537 - 02/04/04 08:44 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
allen, you might need to add the use vars (40 lines of variables); line like in the shoutbox

Top
#198538 - 02/04/04 10:40 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
that's fixed it. smile Thanks.

When I turn on the php accelerator I get a runtime error... something with the javascript in ubb_hits.cgi is buggin - are there updated instructions maybe? smile
_________________________
- Allen wavey
- What Drives You?

Top
#198539 - 02/04/04 10:46 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
hmmmm.. ok, seems to be worked out now smile Maybe I should post the new files. I'll get it if LK doesn't have time in the next couple of days smile
_________________________
- Allen wavey
- What Drives You?

Top
#198540 - 02/04/04 10:49 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
<h1>Software error:</h1>
<code>Undefined subroutine &main::InitImportantStuff called at ubb_hits.cgi line 66.
</code>



For help, please send mail to the webmaster (<a href="mailto:webmaster@praisecafe.org">webmaster@praisecafe.org</a>), giving this error message
and the time and date of the error.
Allen, that's the error being returned, can you make heads or tails of it?

Top
#198541 - 02/04/04 11:33 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
where are you seeing that?

I got it, but it cleared up once I moved the initimportantstuff line below the require ubb_lib.cgi line smile
_________________________
- Allen wavey
- What Drives You?

Top
#198542 - 02/05/04 07:46 AM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Mozilla Firebird gives the most amazing js errors, none of that "something went wrong" errors IE gives you

Top
#198543 - 02/05/04 10:12 AM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
yeah, this ms script debugger is pretty good too smile
_________________________
- Allen wavey
- What Drives You?

Top
#198544 - 12/07/04 11:32 AM Re: [6.4] [beta] Hit Hack
paws Offline
Junior Member

Registered: 04/22/03
Posts: 7
Loc: Montreal
Having the same prob that Ellen and Hanjo had. Using 6.5 and hit column remains empty. I can't seem to isolate what they did to get it to work. I am using IE and added the $topicnums .= "$one|"; above and also added , $topicnums at the end of the HTML string.
Any help would be appreciated.

Top
#198545 - 12/08/04 11:00 PM Re: [6.4] [beta] Hit Hack
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Which version of this mod are you using?
_________________________
- Allen wavey
- What Drives You?

Top
#198546 - 12/09/04 12:15 PM Re: [6.4] [beta] Hit Hack
paws Offline
Junior Member

Registered: 04/22/03
Posts: 7
Loc: Montreal
The one from the first page of this post. hit64.zip version 2.0

Top
#198547 - 12/09/04 12:39 PM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
What's your board's URL?
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198548 - 12/09/04 12:52 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

Top
#198549 - 03/05/05 10:37 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Allen, Ian

I have the same problem, it doesn't show any hits

http://romanianational.com/ubb/ultimatebb.php/ubb/forum/f/7

I hacked everything like 4 times, same thing.

in in ubb_forum I have:

Code:
 $ThisHTML .= &topic_row;
	
	}
	$ThisHTML .= &page_bottom;  # some HTML 
which I modified to:

Code:
 $ThisHTML .= &topic_row;
	$topicnums .= "$one|";

	}
	$ThisHTML .= &page_bottom($topicnums);  # some HTML 
and still doesnt work. also the color of the background of the last colums is ..something wrong with it. I looked at PraiseCafee and LKworld to see the difference, they look cool.

Can you tell me what is wrong?

Thank you,
Felix

Top
#198550 - 03/05/05 11:32 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
did you CHMOD ubb_hits.cgi to 755?

Top
#198551 - 03/06/05 01:43 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Yes I did. Actually I even tried 777, same thing frown

Top
#198552 - 03/06/05 02:37 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Something strange....today, the hits showed, without doing absolutelly anything! ?? last night didn't work, this morning didn't work. All of a sudden today, the page took longer to load and when it did it showed the Hits. crazy...

Ian, do you know what should I do about that last column? the background color I mean.

Thank you,

Felix

Top
#198553 - 03/06/05 04:11 PM Re: [6.4] [beta] Hit Hack
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
see if you have something like

Code:
my $cols = ($vars_display{LastPostColOpt} eq "OFF" ? 5 : 6);
in your ubb_forum.cgi. if so, increase each number by 1

Top
#198554 - 03/06/05 06:57 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
It was actually in in "public_pntf_summary.pl"

Quote:
quote:
<td bgcolor="$vars_style{AltColumnColor2}" colspan="5" align="left"
I chaneged to number 6 to accomodate the new column. Love that stuff!

Thanks Ian,
Felix

Top
#198555 - 03/06/05 07:10 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
Sorry Ian, I must have been editing the post while you were reading it.

I appreciate the you promptitude, you are always on the ball smile

Felix

Top
#198556 - 03/06/05 07:25 PM Re: [6.4] [beta] Hit Hack
Felix 10 Offline
Enthusiast

Registered: 10/10/02
Posts: 394
Loc: Toronto
just in case somebody else needs it.

you have to add "($topicnums);" to the original script:

Code:
		$ThisHTML .= &topic_row;
	$topicnums .= "$one|";
	}
	$ThisHTML .= &page_bottom;   # some HTML
so it will look like this:

Code:
	$ThisHTML .= &topic_row;
	$topicnums .= "$one|";

	}
	$ThisHTML .= &page_bottom($topicnums);  # some HTML
Felix

Top
#198557 - 03/17/06 03:23 AM Re: [6.4] [beta] Hit Hack
_Cash Offline
User

Registered: 11/05/03
Posts: 35
When I turn on the Accelerator I get this error:

"Accelerator Error:
I can't seem to open the existing hits file (

/home/cash/public_html/ubb/ubb/Forum12/hits.cgi
)
Check that its parent directory exists. Perhaps the path is incorrect?"

Path is correct, the hits.cgi are set at 777 and ultimatebb.php permission is at 646.
Any ideas? this error is also mentioned on page 2 of this thread, but I could not see a solution.

Top
#198558 - 03/19/06 01:54 PM Re: [6.4] [beta] Hit Hack
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Cash, first of all be sure that the path is exact, with "/ubb/ubb". If it is correct, try to change ultimatebb.php's permission to 777, 755, 644, etc.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#198559 - 03/24/06 03:50 PM Re: [6.4] [beta] Hit Hack
_Cash Offline
User

Registered: 11/05/03
Posts: 35
Yep, looks like it worked. I changed ultimate.php s permission to 644 ( don't know why it was on 646) and that solved it wink

Top
Page 1 of 6 1 2 3 4 5 6 >



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks